package com.atguigu.gmall.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="service",fallbackFactory=MyServiceFallbackFactory.class)
public interface MyService {
    //降级
    @RequestMapping("getTesta")
    public String getTesta();

    @RequestMapping("getTestb")
    public String getTestb();

}
